package com.ctshk.rpc.insurance.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 保险资源
 * </p>
 *
 * @author wangcy
 * @since 2021-01-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_insurance")
@ApiModel(value="Insurance对象", description="保险资源")
public class Insurance extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "产品来源")
    private Integer sourceType;

    @ApiModelProperty(value = "适用服务")
    private String applicableServices;

    @ApiModelProperty(value = "保险公司ID")
    private Long companyId;

    @ApiModelProperty(value = "保险公司")
    private String companyName;

    @ApiModelProperty(value = "保费类型说明")
    private String priceTypeExplain;

    @ApiModelProperty(value = "产品特色")
    private String productTrait;

    @ApiModelProperty(value = "产品描述")
    private String productDescription;

    @ApiModelProperty(value = "保障利益")
    private String safeguardInterests;

    @ApiModelProperty(value = "投保须知")
    private String insuranceNotice;

    @ApiModelProperty(value = "售卖状态(1:售卖,0:禁售)")
    private Integer status;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;

    @ApiModelProperty(value = "保险编码(第三方编码)")
    private String apiCode;

    @ApiModelProperty(value = "保险编码(第三方CTS编码)")
    private String ctsCode;

    @ApiModelProperty(value = "计划代码(第三方代码)")
    private Integer rationType;


}
